package com.ruoyi.project.WebMoudle.carousel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 轮播管理对象 carousel
 * 
 * @author ruoyi
 * @date 2020-06-30
 */
public class Carousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;
    private Long shopId;
    private String seatId;
    private String seatName;
    private String shopName;
    private String shopTel;
    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    /** 开始时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String reserve;

    /** 状态(1=关闭,0=启用) */
    @Excel(name = "状态(1=关闭,0=启用)")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String comments;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setReserve(String reserve) 
    {
        this.reserve = reserve;
    }

    public String getReserve() 
    {
        return reserve;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getSeatId() {
        return seatId;
    }

    public void setSeatId(String seatId) {
        this.seatId = seatId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getSeatName() {
        return seatName;
    }

    public void setSeatName(String seatName) {
        this.seatName = seatName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopTel() {
        return shopTel;
    }

    public void setShopTel(String shopTel) {
        this.shopTel = shopTel;
    }

    @Override
    public String toString() {
        return "Carousel{" +
                "id=" + id +
                ", shopId=" + shopId +
                ", seatId=" + seatId +
                ", seatName='" + seatName + '\'' +
                ", shopName='" + shopName + '\'' +
                ", shopTel='" + shopTel + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", reserve='" + reserve + '\'' +
                ", status='" + status + '\'' +
                ", comments='" + comments + '\'' +
                '}';
    }
}
